package tagklassen;

import javax.xml.bind.annotation.XmlAttribute;

import jtoxsig.IdGenerator;

public class Task
{
	private int completionQuantity;
	private String isForCompensation;
	private String name;
	private int startQuantitiy;
	private String incoming;
	private String outgoing;
	private String id;

	public Task()
	{
		id = IdGenerator.getId();
	}
	
	@XmlAttribute
	public String getId()
	{
		return id;
	}

	@XmlAttribute
	public int getCompletionQuantity()
	{
		return completionQuantity;
	}

	public void setCompletionQuantity(int completionQuantity)
	{
		this.completionQuantity = completionQuantity;
	}

	public void setId(String id)
	{
		this.id = id;
	}

	@XmlAttribute
	public String getIsForCompensation()
	{
		return isForCompensation;
	}

	public void setIsForCompensation(String isForCompensation)
	{
		this.isForCompensation = isForCompensation;
	}

	@XmlAttribute
	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	@XmlAttribute
	public int getStartQuantitiy()
	{
		return startQuantitiy;
	}

	public void setStartQuantitiy(int startQuantitiy)
	{
		this.startQuantitiy = startQuantitiy;
	}

	public String getIncoming()
	{
		return incoming;
	}

	public void setIncoming(String incoming)
	{
		this.incoming = incoming;
	}

	public String getOutgoing()
	{
		return outgoing;
	}

	public void setOutgoing(String outgoing)
	{
		this.outgoing = outgoing;
	}
}
